package com.health.patient.remote;

import com.health.common.core.domain.R;
import com.health.health.common.dto.PmsConsultationRecordDto;
import com.health.patient.remote.factory.RemotePatientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 患者服务
 *
 * @author ruoyi
 */
@FeignClient(value = "health-patient",contextId = "PatientRemoteA",fallbackFactory = RemotePatientFallbackFactory.class)
public interface PatientRemoteService {

    /**
     * 添加问诊记录
     * @param recordDto
     * @return ybz
     */
    @RequestMapping("/consultation/addConsultation")
    public R addConsultation(@RequestBody PmsConsultationRecordDto recordDto);

}
